THEORY & PRACTICE

Alternative Web Scraping

Building Web Scrapers Inside the Browser

This book explains the fundamentals of web scraping and presents an alternative approach: building scrapers as Chrome extensions that run directly in the browser and use local storage to keep track of their state.

Contents

  1. 1.Preface
  2. 2.Web Data Presentation
  3. 3.Listing Websites
  4. 4.Chrome Browser Extensions
  5. 5.Example Listing Scraper
  6. 6.Project Structure
  7. 7.Helper Functions
  8. 8.Extension User Interface
  9. 9.Actual Scraping
  10. 10.Testing Extension
  11. 11.Afterword
Listing Scraper Chrome Extension Full Source Code →